(function($,root) {
	function AudioManager(){
		//创建一个audio对象
		this.audio = new Audio();
		// this.src = src;
		//audio默认状态为 pause
		this.status = 'pause'
	}
	AudioManager.prototype = {
		play:function() {
			this.audio.play();
			this.status = 'play'
		},
		pause:function() {
			this.audio.pause();
			this.status = 'pause'
		},
		getAudio:function(src) {
			// console.log(src)
			this.audio.src = src.audioSrc;
			this.audio.load();
		},
		playTo:function(curTime) {
			this.audio.currentTime = curTime;
			this.audio.play()
		}
	}
		//暴露对象
		root.audioManager = new AudioManager();

})(window.Zepto, window.player || (window.play = {}))